package com.ka.magicexplorer.model;

import java.io.File;

public abstract class FileSuper {
	protected String path;
	protected String name;
	protected Boolean isHiden;
	protected String fileStyle;

	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getIsHiden() {
		return isHiden;
	}
	public void setIsHiden(Boolean isHiden) {
		this.isHiden = isHiden;
	}
	public String getFileStyle() {
		return fileStyle;
	}
	public void setFileStyle(String fileName) {
		this.fileStyle = fileName;
	}
	
	public Boolean delete(){
		return (new File(getPath())).delete();
	}
	public Boolean open(){
		return false;
	}
	public Boolean rename(){
		return false;
	}
	
}
